/*
 * TITLE:Constants
 * AUTHOR:Manori Thakur
 * PURPOSE: Defines all the constants
 */
package clientcore;

public class Constants {
    public final static String CLIENT_VERSION = "0.0.0.9";
    //public final static String SERVER_IP = "192.168.0.195";
    
    public final static String SERVER_IP = "10.0.2.2";
    public final static int SERVER_PORT = 8080;
    //9696
    /*
    public final static String SERVER_IP = "thecity.sfsu.edu";
    public final static int SERVER_PORT = 9019;
    */
    
    public final static short CMSG_HEART = 12;
    
    /* Login/Logout Constants */
    public final static short CMSG_AUTH = 1;
    public final static short SMSG_AUTH_RESPONSE = 2;
    public final static short CMSG_DISCONNECT = 5;
    public final static short SMSG_DISCONNECT = 6;

    /* Question Constants */
    public final static short CMSG_BOARD_ANSWER = 138;
    public final static short CMSG_BOARD_QUESTION = 140;
    public final static short CMSG_QUESTION_LOG = 206;
    public final static short SMSG_BOARD_ANSWER = 139;
    public final static short SMSG_BOARD_QUESTION = 141;
    public final static short SMSG_QUESTION_LOG = 207;
      
    /* Chat Constants */
    public final static short CMSG_GLOBAL_CHAT = 14;
    public final static short CMSG_PRIVATE_CHAT = 16;
    public final static short CMSG_PUBLIC_CHAT = 68;
    public final static short CMSG_GET_PRIVATE_CHAT = 254;  
    public final static short SMSG_PUBLIC_CHAT = 69;
    public final static short SMSG_PRIVATE_CHAT = 17;
    public final static short SMSG_GLOBAL_CHAT = 15;
    public final static short SMSG_SEND_PRIVATE_CHAT = 255;    
    
    /* Buddy Constants */
    public final static short CMSG_BUDDIES = 56;
    public final static short CMSG_BUDDY_ACCEPT = 58;
    public final static short CMSG_BUDDY_INVITE = 60;
    public final static short CMSG_BUDDY_REMOVE = 62;
    public final static short CMSG_GET_BUDDY_INVITES = 252;
    public final static short SMSG_BUDDIES = 57;
    public final static short SMSG_BUDDY_ADD = 59;
    public final static short SMSG_BUDDY_INVITE = 61;
    public final static short SMSG_BUDDY_REMOVE = 63;
    public final static short SMSG_SEND_BUDDY_INVITES = 253;
    
    
    public final static short CMSG_MODE_READY = 142;
    public final static short SMSG_QUESTION = 97;
    public final static short CMSG_ANSWER = 34;
    public final static short SMSG_ANSWER = 35;
    public final static short CMSG_LOCAL_PLAYERS = 250;
    public final static short SMSG_LOCAL_PLAYERS = 251;
}
